package com.anolesoft.yr.store.stk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 出库流水
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "stk_out_list_flow")
public class StkOutListFlow implements Serializable {
    @TableId(value = "OBJUID", type = IdType.AUTO)
    private String objuid;

    /**
     * 库存表主键
     */
    @TableField(value = "stk_store_uid")
    private String stkStoreUid;

    /**
     * 出入库方式表主键
     */
    @TableField(value = "out_user_uid")
    private String outUserUid;

    /**
     * 出库时间
     */
    @TableField(value = "out_time")
    private Date outTime;

    /**
     * 出库方式
     */
    @TableField(value = "stk_outin_type_uid")
    private String stkOutinTypeUid;

    /**
     * 物品所在库位
     */
    @TableField(value = "stk_location_uid")
    private String stkLocationUid;

    /**
     * 出库价格
     */
    @TableField(value = "price")
    private Long price;

    /**
     * 状态
     */
    @TableField(value = "`state`")
    private Byte state;

    /**
     * 出库单表主键
     */
    @TableField(value = "stk_out_list_uid")
    private String stkOutListUid;

    private static final long serialVersionUID = 1L;
}